#Copyright (c) Facebook, Inc. and its affiliates.
#This source code is licensed under the MIT license found in the
#LICENSE file in the root directory of this source tree.

cmake_minimum_required(VERSION 3.4.1)
project(native-filters)
set(TOP_DIR ${CMAKE_CURRENT_LIST_DIR}/../)

add_subdirectory(${TOP_DIR}/filters filters.out)

add_library(native-filters SHARED  exceptions_handling.cpp init.cpp)

target_link_libraries(${PROJECT_NAME} PRIVATE hilog_ndk.z)
target_link_libraries(${PROJECT_NAME} PRIVATE filters)

target_include_directories(${PROJECT_NAME} PRIVATE ${TOP_DIR}/filters)
